Windoid is a MacApp 3.0 sample, which shows how to construct tear-off floating windows for control of window information. This is a simple example that has the bare minimum for supporting floating windows, written in generic C++.
This sourcecode is compiled and linked in the following environment:
MPW 3.2
MPW C++ 3.2a3
[don't worry about all the inlining warnings generated by C++]
MacApp 3.0b2PQR
Any possible known and unknown bugs will be fixed in subsequent releases.
Concerning comments, bug reports, and other issues, contact:
Kent Sandvik, DTS
AppleLink: KSAND
Usenet: ksand@apple.com
CompuServe:75300,1331
Changes since 1.0a2:
Updated the method interfaces and calls to the new rules of MacApp3.0b1/b2.
Todo:
Could not make use of the new View format yet, because I was unsure about
how to include the floating window WDEF information in the .r file.
Move IRes method implementations to DoPostCreate.
Fix bugs (like when one moves quickly the floating window to another screen,
and back, it gets confused and highlights many rects)